package com.systemframework.sys.dto.response;

import cn.zhxu.bs.bean.DbField;
import cn.zhxu.bs.bean.SearchBean;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author summer
 * @date 2023-04-04 16:54
 */
@Data
@SearchBean(tables = "sys_dict t",autoMapTo = "t")
public class SysDictResponseDTO implements Serializable {

    private Integer id;

    @DbField("t.dictName")
    private String dictName;

    @DbField("t.dictCode")
    private String dictCode;

    @DbField("t.createTime")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date createTime;

    @DbField("t.updateTime")
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone ="GMT+8")
    private Date updateTime;

    private String remarks;
}
